query

inline fun <T : BaseRealmObject> MutableRealm.query(query: String = TRUE_PREDICATE, vararg args: Any?): RealmQuery<T>

Returns a RealmQuery matching the predicate represented by query.

Reified convenience wrapper for MutableRealm.query.

inline fun <T : BaseRealmObject> Realm.query(query: String = TRUE_PREDICATE, vararg args: Any?): RealmQuery<T>

Returns a RealmQuery matching the predicate represented by query.

Reified convenience wrapper for Realm.query.

fun <T : BaseRealmObject> RealmList<T>.query(filter: String = TRUE_PREDICATE, vararg arguments: Any?): RealmQuery<T>

Query the objects of a list by the filter and arguments.

Parameters

filter

the Realm Query Language predicate to append.

arguments

Realm values for the predicate.

inline fun <T : BaseRealmObject> TypedRealm.query(query: String = TRUE_PREDICATE, vararg args: Any?): RealmQuery<T>

Returns a RealmQuery matching the predicate represented by query.

Reified convenience wrapper of TypedRealm.query.

Parameters

query

the Realm Query Language predicate to append.

args

Realm values for the predicate.